package com.wing.cabinet.model.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wing.cabinet.utils.ExcelExport;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 库存缺货告警导出VO
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class CelllnventoryAlarmExportVO {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    private String creatorName;
//    /**
//     * 柜子编码
//     */
//    @ExcelExport(value = "刀柜编码",sort = 20)
//    private String cabCode;
//    /**
//     * 企业自定义柜子名称
//     */
//    @ExcelExport(value = "刀柜名称",sort = 10)
//    private String cabName;
//    /**
//     * 刀柜类型
//     */
//    @ExcelExport(value = "刀柜类型",sort = 11)
//    private String cabinetNature;
    /**
     * sku 名称
     */
    @ExcelExport(value = "物料名称",sort = 40)
    private String skuName;
    /**
     * sku code
     */
    @ExcelExport(value = "物料编号",sort = 50)
    private String skuCode;
    /**
     * 产品品牌
     */
    @ExcelExport(value = "品牌",sort = 70)
    private String productBrandName;
    /**
     * 产品品牌
     */
    @ExcelExport(value = "规格码",sort = 60)
    private String skuSpecOld;
    /**
     * 库存数量
     */
//    /**
//     * 货道
//     */
//    @ExcelExport(value = "货道编号",sort = 30)
//    private String spaceCode;

    @ExcelExport(value = "告警设置库存",sort = 100)
    private Integer quantitySetting;
    @ExcelExport(value = "缺货数量",sort = 110)
    private Integer stockoutQuantity;
    @ExcelExport(value = "包装单位",sort = 72)
    private String unitName;
    @ExcelExport(value = "库存(包装计)",sort = 71)
    private Integer quantityPack;

    @ExcelExport(value = "基础单位",sort = 90)
    private String basicsUnitName;

    @ExcelExport(value = "库存(基础单位计)",sort = 80)
    private Integer quantity;


    private Integer quantityPackUnit;


    private String packName;

    @ExcelExport(value = "主柜编码",sort = 1)
    private String belongCabinet;

    @ExcelExport(value = "总库存(包装计)",sort = 70)
    private Integer totalInventory;

    @ExcelExport(value = "总库存(基础单位计)",sort = 79)
    private Integer totalInventoryPack;

}
